<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>消息管理</title>
	<%@ include file="/view/common/tags.jsp"%>
	<script type="text/javascript" src="${ctx}/js/My97DatePicker/WdatePicker.js"> </script>
</head>
<body>
	<section class="content">
    	<div class="row">
            <div class="col-md-12">
                <div class="box">
                	<div class="box-body">
						<div class="panel panel-default">
                            <div class="panel-body" style="padding-bottom:5px;">
                                <form class="form-horizontal" action="" method="post" id="dataForm">
                                	<input type="hidden" id="rowId" value="${tlzsOrder.rowId}"/>
                                	<div class="searchMenu">
                                	     <div>
                                		    <label>订单编号：</label>
                                            <input type="text" class="form-control" name="wm[_LIKE$ORDER_NO]" value="${page.wm._LIKE$ORDER_NO}"  placeholder="请输入订单编号">
                                        </div>
                                        <div>
                                            <label>用户帐号：</label>
                                            <input type="text" class="form-control" name="wm[_LIKE$USER_ACCOUNT]" value="${page.wm._LIKE$USER_ACCOUNT}"  placeholder="请输入用户帐号">
                                        </div>
                                        <div>
                                            <label>下单时间：</label>
                                            <input id="createTimeStart" name="wm[_MORE_EQUAL$ORDER_CREATE_TIME]" value="${page.wm._MORE_EQUAL$ORDER_CREATE_TIME}"  type="text"  class="Wdate" 
											  onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',startDate:'%y-%M-%d 00:00:00',alwaysUseStartDate:true,maxDate:'#F{$dp.$D(\'createTimeEnd\')}',minDate:'#F{$dp.$D(\'createTimeEnd\',{d:-30,H:-23,m:-59,s:-59})}'})" /> 
											  <span class="pull-left">&nbsp;-&nbsp;</span>
											  <input id="createTimeEnd" name="wm[_LESS_EQUAL$ORDER_CREATE_TIME]" value="${page.wm._LESS_EQUAL$ORDER_CREATE_TIME}"  class="Wdate" 
								               onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',startDate:'%y-%M-%d 23:59:59',alwaysUseStartDate:true,minDate:'#F{$dp.$D(\'createTimeStart\')}',maxDate:'#F{$dp.$D(\'createTimeStart\',{d:+30,H:+23,m:+59,s:+59})}'})" />
                                        </div>
                                        <div class="mal10" >
                                            <button type="button"  class="btn btn-primary btn-sm"  onclick="findData()"><span class='glyphicon glyphicon-search'></span>查&nbsp;询</button>
                                            <button type="button"  class="btn btn-primary btn-sm"  onclick="goBack()"><span class='glyphicon glyphicon-backward'></span>返&nbsp;回</button>
                                        </div>
                                	</div>
                                </form>
                        	</div>
						</div>
                        <table class="table table-hover table-condensed table-bordered table-striped" id="dataTable" >
                            <thead>
                            	<tr>
                                	<th data-field="index" data-align="center" data-formatter="indexFormatter" data-sortable="false">序号</th>
                                	<th data-field="userAccount" data-align="center" data-sortable="true">用户帐号</th>
                                	<th data-field="orderNo" data-align="center" data-sortable="true">订单编号</th>
                                	<th data-field="orderCreateTime" data-align="center" data-formatter="timeFormatter_point" data-sortable="true">下单时间</th>
                                	<th data-field="gameName" data-align="center" data-sortable="true">游戏名称</th>
                                    <th data-field="goods" data-align="center"  data-sortable="true" data-formatter="goodsFormatter">订单数量</th>
                                    <th data-field="alreadyFinishNum" data-align="center" data-sortable="true" data-formatter="alreadyFinishNumFormatter">已完成数量</th>
									<th data-field="actualGetNum" data-align="center" data-sortable="true" data-formatter="actualGetNumFormatter">实际获得</th>
									<th data-field="buyFlag" data-align="center" data-formatter="buyFlagFormatter_point" data-sortable="true">领取方式</th>
									<th data-field="orderTotalMoney" data-align="center" data-sortable="true" data-formatter="orderTotalMoneyFormatter">订单金额</th>
                                    <th data-field="payStatus" data-align="center" data-sortable="true" data-formatter="payStatusFormatter">资金状态</th>
                                    <th data-field="orderStatus" data-align="center" data-sortable="true" data-formatter="orderStatusFormatter">订单状态</th>
                                </tr>
                            </thead>
                        </table>
                       	<p class="text-right mart10">订单数量<a style='color:red'>${tlzsOrder.buyTotalNum}</a>，累计补单数量<a style='color:red'> ${replenishSumNum}</a></p> 
                    </div>
                </div>
            </div>
       	</div>
	</section>
   <%@ include file="/view/common/footer.jsp"%>
   <script type="text/javascript" src="${ctx}/view/js/order/order_replenishList.js"></script>
</body>
<script>
// 提示信息
var msgg='<%=request.getAttribute("msg")%>';
if (msgg && msgg!=null && msgg!='null') { 
	  layer.msg(msgg);
}
</script>
</html>